package com.apexsoft.monitor.front.console.log.dao;

import com.apexsoft.monitor.front.console.log.om.Log;
import com.baomidou.mybatisplus.mapper.AutoMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

/**
 * 
 * @author lsj
 *
 */
@Repository
public interface LogDao extends AutoMapper<Log>{

	public List<Log> queryLogByPage(String key);

    public String queryLogByLastId(HashMap param);

	public List<Log> queryLogAfterId(HashMap param);

	public List<HashMap> queryTaskForNodeAttrAndTemplate(HashMap param);

    public List<Log> queryLogsForLimit(@Param("row") Integer row, @Param("size") Integer size,@Param("id") Integer id);

    public Integer queryDataRow(@Param("id") Integer id);
}
